Virtual Threads
نویسنده
چکیده
Multithreaded servers, while relatively simple to design and to implement, tend not to scale well for large numbers of concurrent users. Event-driven servers, which do scale well, are generally more difficult to design, write, and debug than multithreaded servers. Virtual Threads is a new server programming model in which the programmer writes a multithreaded server and a preprocessor automatically converts the server to a sophisticated event-driven server. We describe our current implementation of Virtual Threads and present benchmarks showing that a multithreaded Web server that uses Virtual Threads scales as well as an event-driven server.
منابع مشابه
Virtual Organizing: Using Threads to Coordinate Distributed Work
This paper explores the critical role of conversational threads in facilitating the ongoing, distributed work of one virtual organization. In studying the electronic mail exchanges of organizational members during one year, we found that they engaged in a range of threading activity to establish and maintain continuity, coherence, and coordination in their collaborative work over time. In parti...
متن کاملExtending Camelot with Mutable State and Concurrency
Camelot is a resource-bounded functional programming language which compiles to Java byte code to run on the Java Virtual Machine. We extend Camelot to include language support for Camelot-level threads which are compiled to native Java threads. We extend the existing Camelot resource-bounded type system to provide safety guarantees about the heap usage of Camelot threads.
متن کاملEvaluation of Java Thread Performance on Two Di erentMultithreaded
Modern programming languages and operating systems encourage the use of threads to exploit concurrency and simplify program structure. An integral and important part of the Java language is its multithreading capability. Despite the portability of Java threads across almost all platforms, the performance of Java threads varies according to the multithreading support of the underlying operating ...
متن کاملOn the Design and Implementation of DSM-Threads
This paper discusses design goals, design decisions, and implementation choices of DSM-Threads, a runtime system to support distributed threads with a distributed shared virtual memory (DSM). DSM-Threads provides a distributed runtime system with a kernel on each node, which relies on POSIX threads locally and a decentralized communication subsystem between nodes. Support for multiple data cons...
متن کاملCommunication of support and critique in Swedish virtual community threads about prenatal diagnoses of fetal anomalies
BACKGROUND A prenatal diagnosis of a fetal anomaly involves acute grief and psychological distress. The Internet has the potential to provide virtual support following the diagnosis. The overall aim was to explore communication of support and critique in Swedish virtual community threads about prenatal diagnoses of fetal anomalies. METHODS Systematic searches in Google resulted in 117 eligibl...
متن کامل